package com.bawei.demo_mvp.mvp;

import com.bawei.demo_mvp.base.BaseModel;
import com.bawei.demo_mvp.entity.BaseResponse;
import com.bawei.demo_mvp.entity.VideoEntity;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author yaotianxue
 * @description
 * @date 2025/5/12
 */
public class VideoModel extends BaseModel implements VideoContract.IVideoModel {
    @Override
    public Observable<BaseResponse<List<VideoEntity>>> video(int currentPage, int pageSize) {
        return mApiServer.video(currentPage,pageSize);
    }
}
